<?php
use common\models\Customer\Customer;
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use zhongkefu\zhongkefu;
use dosamigos\datetimepicker\DateTimePicker;//时间





use yii\helpers\ArrayHelper;
use common\models\auth\Auth;
/* @var $this yii\web\View */
/* @var $model common\models\Customer\Customer */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="customer-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'title')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'classification')->dropDownList(array('QQ'=>'QQ','MSN'=>'MSN','阿里旺旺'=>'阿里旺旺','淘宝账号'=>'淘宝账号')) ?>

	 <?= $form->field($model, 'status')->dropDownList(Customer::getArrayStatus()) ?>

    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? Yii::t('app', 'Create') : Yii::t('app', 'Update'), ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
